package com.example.quce.mapper;

import com.example.quce.entity.FunnyResult;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FunnyResultMapper {
    // 查询全部测试结果
    List<FunnyResult> selectAllResult();

    // 查询对应id的测试结果
    FunnyResult selectResultById(int id);

    List<FunnyResult> selectResultByTest(int test_id);

    FunnyResult selectResultByRT(int result_id,int test_id);
}
